import 'package:test/test.dart';
import 'package:napi/src/napi.dart' as napi_api;

void main() {
  group('Napi env access (host-only)', () {
    test('env not injected returns false or throws', () {
      bool ok = true;
      try {
        ok = napi_api.Napi.initializeNapiEnvironment();
      } catch (_) {
        ok = false;
      }
      expect(ok, isFalse);
    });
  });
}
